<?php 
	$sql = "SELECT * FROM nhasanxuat";
	$result = DataProvider::ExecuteQuery($sql);
?>		
<div align="center">
<form method="post" name="timNangCao" action="index.php?act=17">	
	<select name="tennhasanxuat" style="width: 212px;">
		<option selected="selected" value=-1>------Nhà Sản Xuất------</option>
		<?php 
		while ($row = mysql_fetch_array($result))
		{
			echo "<option value=".$row['manhasanxuat'].">".$row['tennhasanxuat'];
		}			
		?>
	</select><br/><br>
	<select name="giaTu" style="width: 212px;">
		<option selected="selected" value=-1>----------Giá Từ--------</option>
		<?php 
			for ($i=0;$i<11000000;$i+=1000000)
			{
				?>
				<option value=<?php echo $i?>><?php echo number_format($i,0)." VNĐ</option>";?>
				<?php 				
			}
		?>
	</select><br/><br/>
	<select name="giaDen" style="width: 212px;">
		<option selected="selected" value=-1>---------Giá Đến--------</option>
		<?php 
			for ($j=0;$j<11000000;$j+=1000000)
			{
				?>
				<option value=<?php echo $j?>><?php echo number_format($j,0)." VNĐ</option>";?>
				<?php 				
			}
		?>
		<option value=tren10tr>Trên 10 triệu</option>
		
	</select><br/><br/>
	<input type="submit" value="Tìm kiếm" style="width: 100px;height: 25px;">
</form>
</div>